package com.ztman.service.work.dto;

import java.time.LocalDateTime;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableName;
import com.google.gson.JsonObject;
import com.ztman.basic.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ztman.service.common.properties.MySqlJsonHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 *
 * </p>
 *
 * @author wsd
 * @since 2021-08-23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "WorkOrderTplDataPageQuery", description = "")
public class WorkOrderTplDataPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Integer workOrder;
    @ApiModelProperty(value = "")
    @TableField(typeHandler = MySqlJsonHandler.class)
    private JSONObject formStructure;
    @ApiModelProperty(value = "")
    @TableField(typeHandler = MySqlJsonHandler.class)
    private JsonObject formData;
    @ApiModelProperty(value = "")
    private Integer tpl;
    /**
     * 删除状态
     */
    @ApiModelProperty(value = "删除状态")
    private Boolean delFlag;

    private Long id;
    private LocalDateTime createTime;
    private String createName;

    private LocalDateTime updateTime;
    private String createdBy;
    private String updatedBy;
}
